package com.addplus.townmall.server.api.model.town;

import com.addplus.townmall.server.api.model.base.BaseRestModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

/**
 * <p>
 * 拼团商品订单子项详情表
 * </p>
 *
 * @author zhangjiehang
 * @since 2018-10-30
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class OrderItemsFight extends BaseRestModel {

    private static final long serialVersionUID = 1L;

    /**
     * 订单主键id
     */
    private Integer orderId;

    /**
     * 商城店铺主键id
     */
    private Integer storeId;

    /**
     * 商品主键id
     */
    private Integer shopProductId;

    /**
     * 商品名称
     */
    private String shopName;

    /**
     * 商品封面图片
     */
    private String shopSealImg;

    /**
     * 商品单价
     */
    private BigDecimal shopPrice;

    /**
     * 成本价
     */
    private BigDecimal costPrice;

    /**
     * 销售价
     */
    private BigDecimal salePrice;

    /**
     * 商品标签
     */
    private String shopTag;

    /**
     * 购买数量
     */
    private Integer purchaseQuantity;

    /**
     * 商品总金额
     */
    private BigDecimal shopTotalAmount;

    /**
     * 实际应付金额
     */
    private BigDecimal realTotalPrice;

    /**
     * 商品sku表主键id
     */
    private Integer shopSpecificationSkuId;

    /**
     * 商品sku表规格值
     */
    private String shopSpecificationSkuSkuId;

    /**
     * 商品sku属性值
     */
    private String shopSpecificationSkuJson;

    /**
     * 退货数量
     */
    private Integer returnQuantity;

    /**
     * 退款价格
     */
    private BigDecimal refundPrice;

    /**
     * 是否可退款(0:可退 1:进行中 2:不可退)
     */
    private Integer isRefund;

    /**
     * 分佣比例
     */
    private BigDecimal commisRate;

    /**
     * 可退金额
     */
    private BigDecimal enabledRefundAmount;

    /**
     * 允许七天无理由退货
     */
    private Integer enableNoreasonReturn;

    /**
     * 是否为限时购商品(0:否 1:是)
     */
    private Integer isLimitBuy;

    /**
     * 是否删除(0:否 1:是)
     */
    private Integer isDelete;


}
